getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia.bind(navigator);

RTCPeerConnection = window.RTCPeerConnection || window.webkitRTCPeerConnection; 

URL = window.URL || window.webkitURL;

  